/*
 * @Author: DaTree
 * @Date: 2020-11-16 14:45:04
 * @LastEditTime: 2020-11-19 22:26:05
 * @LastEditors: DaTree
 * @Description: DaTreeEdit
 * @FilePath: \services\src\controller\modules\serverController.js
 * @天将降大任于是人也，必先苦其心志，劳其筋骨，饿其体肤，空乏其身，行拂乱其所为。 ——《孟子•告子下》
 * @symbol_custom_string_obkoro1_copyright: Copyright ${now_year} DaTree
 */
import Response from '../response'

export default [
  // user login
  {
    url: '/api/server/getServerList',
    type: 'get',
    response(config) {
      return new Response([ 
        {
          id: 10000,
          host: '192.168.124.36',
          port: 22,
          username: 'root',
          password: 'aliOS1688',
          name: 'ecdp-dev-main-192.168.124.36',
          state: 0,
          loading: false,
          serverId: '',
          log: '',
        },
        {
          id: 10001,
          host: '10.5.192.179',
          port: 22,
          username: 'root',
          password: 'aliOS1688',
          name: 'ecs_zywc_xnt_fxywzx_view1-10.5.192.179',
          state: 0,
          loading: false,
          serverId: '',
          log: '',
        },
        {
          id: 10002,
          host: '10.5.192.180',
          port: 22,
          username: 'root',
          password: 'aliOS1688',
          name: 'ecs_zywc_xnt_fxywzx_view2-10.5.192.180',
          state: 0,
          loading: false,
          serverId: '',
          log: '',
        },
        {
          id: 10003,
          host: '10.5.192.167',
          port: 22,
          username: 'root',
          password: 'aliOS1688',
          name: 'ecs_zywc_xnt_jcxxzx_view1-10.5.192.167',
          state: 0,
          loading: false,
          serverId: '',
          log: '',
        },
        {
          id: 10004,
          host: '10.5.192.168',
          port: 22,
          username: 'root',
          password: 'aliOS1688',
          name: 'ecs_zywc_xnt_jcxxzx_view2-10.5.192.168',
          state: 0,
          loading: false,
          serverId: '',
          log: '',
        },
        {
          id: 10005,
          host: '10.5.128.39',
          port: 22,
          username: 'root',
          password: 'aliOS1688',
          name: 'ecs_zywc_prd_fxywzx_view1-10.5.128.39',
          state: 0,
          loading: false,
          serverId: '',
          log: '',
        },
        {
          id: 10006,
          host: '10.5.128.40',
          port: 22,
          username: 'root',
          password: 'aliOS1688',
          name: 'ecs_zywc_prd_fxywzx_view2-10.5.128.40',
          state: 0,
          loading: false,
          serverId: '',
          log: '',
        },
        {
          id: 10007,
          host: '10.5.128.41',
          port: 22,
          username: 'root',
          password: 'aliOS1688',
          name: 'ecs_zywc_prd_fxywzx_view3-10.5.128.41',
          state: 0,
          loading: false,
          serverId: '',
          log: '',
        },
        {
          id: 10008,
          host: '10.5.128.19',
          port: 22,
          username: 'root',
          password: 'aliOS1688',
          name: 'ecs_zywc_prd_jcxxzx_view1-10.5.128.19',
          state: 0,
          loading: false,
          serverId: '',
          log: '',
        },
        {
          id: 10009,
          host: '10.5.128.22',
          port: 22,
          username: 'root',
          password: 'aliOS1688',
          name: 'ecs_zywc_prd_jcxxzx_view2-10.5.128.22',
          state: 0,
          loading: false,
          serverId: '',
          log: '',
        },
        {
          id: 100010,
          host: '10.5.128.23',
          port: 22,
          username: 'root',
          password: 'aliOS1688',
          name: 'ecs_zywc_prd_jcxxzx_view3-10.5.128.23',
          state: 0,
          loading: false,
          serverId: '',
          log: '',
        },
        // {
        //   id: 10000,
        //   host: '192.168.36.130',
        //   port: 22,
        //   username: 'root',
        //   password: 'aliOS1688',
        //   name: '本地测试机',
        //   state: 0,
        //   loading: false,
        //   serverId: '',
        //   log: ''
        // },
        // {
        //   id: 10001,
        //   host: '192.168.11.131',
        //   port: 22,
        //   username: 'root',
        //   password: 'aliOS1688',
        //   name: 'DatreeTest',
        //   state: 0,
        //   loading: false,
        //   serverId: '',
        //   log: ''
        // }
      ])
    },
  },
]
